package proxy02;

import org.junit.Test;

public class Demo {
    @Test
    public void testEat(){
        LaoWangProxy lweat = new LaoWangProxy(new LaoWang());
        lweat.eat();
        //手机上的APP搜索一个吃饭的地方
        //用微信约一个妹子
        //和妹子一起吃饭
        //吃饭需要的时间0

    }
    @Test
    public void testplay(){
        LaoWangProxy lwplay = new LaoWangProxy(new LaoWang());
        lwplay.play();
    }
    @Test
    public void testsleep(){
        LaoWangProxy lwsleep = new LaoWangProxy(new LaoWang());
        lwsleep.sleep();
    }
}
